The Development of Hyper-Dual Numbers for Exact Second-Derivative Calculations
نویسندگان
چکیده
The complex-step approximation for the calculation of derivative information has two significant advantages: the formulation does not suffer from subtractive cancellation errors and it can provide exact derivatives without the need to search for an optimal step size. However, when used for the calculation of second derivatives that may be required for approximation and optimization methods, these advantages vanish. In this work, we develop a novel calculation method that can be used to obtain first (gradient) and second (Hessian) derivatives and that retains all the advantages of the complex-step method (accuracy and step-size independence). In order to accomplish this task, a new number system which we have named hyper-dual numbers and the corresponding arithmetic have been developed. The properties of this number system are derived and explored, and the formulation for derivative calculations is presented. Hyper-dual number arithmetic can be applied to arbitrarily complex software and allows the derivative calculations to be free from both truncation and subtractive cancellation errors. A numerical implementation on an unstructured, parallel, unsteady Reynolds-Averaged Navier Stokes (URANS) solver, Joe, is created using C++ operator overloading. Results are presented demonstrating the potential of this method in computations of relevance to the analysis and design of multi-disciplinary aerospace systems.
منابع مشابه
Review of theory and implementation of hyper-dual numbers for first and second order automatic differentiation
In this review we present hyper-dual numbers as a tool for the automatic differentiation of computer programs via operator overloading. We start with a motivational introduction into the ideas of algorithmic differentiation. Then we illuminate the concepts behind operator overloading and dual numbers. Afterwards, we present hyper-dual numbers (and vectors) as an extension of dual numbers for th...
متن کاملPresentation of two models for the numerical analysis of fractional integro-differential equations and their comparison
In this paper, we exhibit two methods to numerically solve the fractional integro differential equations and then proceed to compare the results of their applications on different problems. For this purpose, at first shifted Jacobi polynomials are introduced and then operational matrices of the shifted Jacobi polynomials are stated. Then these equations are solved by two methods: Caputo fractio...
متن کاملViewing Some Ordinary Differential Equations from the Angle of Derivative Polynomials
In the paper, the authors view some ordinary differential equations and their solutions from the angle of (the generalized) derivative polynomials and simplify some known identities for the Bernoulli numbers and polynomials, the Frobenius-Euler polynomials, the Euler numbers and polynomials, in terms of the Stirling numbers of the first and second kinds.
متن کاملExact travelling wave solutions for some complex nonlinear partial differential equations
This paper reflects the implementation of a reliable technique which is called $left(frac{G'}{G}right)$-expansion ethod for constructing exact travelling wave solutions of nonlinear partial differential equations. The proposed algorithm has been successfully tested on two two selected equations, the balance numbers of which are not positive integers namely Kundu-Eckhaus equation and Derivat...
متن کاملSOME RESULTS OF INTUITIONISTIC FUZZY WEAK DUAL HYPER K-IDEALS
In this note we consider the notion of intuitionistic fuzzy (weak) dual hyper K-ideals and obtain related results. Then we classify this notion according to level sets. After that we determine the relationships between intuitionistic fuzzy (weak) dual hyper K-ideals and intuitionistic fuzzy (weak) hyper K-ideals. Finally, we define the notion of the product of two intuitionistic fuzzy (weak) du...
متن کامل